package com.she.iiicoursecenter.event.connect.bean;

import java.util.ArrayList;
import java.util.List;

public class SearchConditionedBean implements Cloneable
{ 
	private int result= 901;
	private String message ="網路異常，請重新操作。";
	private List<String> date = new ArrayList<String>();
	private List<String> slot = new ArrayList<String>();
	private List<String> time = new ArrayList<String>();

	public SearchConditionedBean(){
		
	}
  	
	public void setResult(int result){
		this.result = result;
	}
	
	public int getResult(){
		return result;
	}
	
	public void setMessage(String message){
		this.message = message;
	}
	
	public String getMessage(){
		return message;
	}
	
	public void setDateList(List<String> date){
		this.date.clear();
		this.date.addAll(date);
	}
	
	public List<String> getDateList(){
		return this.date;
	}
	
	public void setSlotList(List<String> slot){
//		for (int i = 0; i < slot.size(); i++) {
//			slot.get(i).replaceAll(regularExpression, replacement);
//			slot.get(i).replaceAll(regularExpression, replacement);
//			slot.get(i).replaceAll(regularExpression, replacement);
//			slot.get(i).replaceAll(regularExpression, replacement);
//			slot.get(i).replaceAll(regularExpression, replacement);
//			slot.get(i).replaceAll(regularExpression, replacement);
//			slot.get(i).replaceAll(regularExpression, replacement);
//		}
		this.slot.clear();
		this.slot.addAll(slot);
	}
	
	public List<String> getSlotList(){
		return this.slot;
	}
	
	public void setTimeList(List<String> time){
		this.time.clear();
		this.time.addAll(time);
	}
	
	public List<String> getTimeList(){
		return this.time;
	}
	
	@Override
	public Object clone() throws CloneNotSupportedException {
		// TODO Auto-generated method stub
		return super.clone();
	}
	
}